package com.gopay.common.domain.dps;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;

import com.gopay.common.domain.BaseEntity;

/**
 * 钱包活动次数统计VO
 * 
 * @author ZHOUPENG
 * @date 2017年8月17日 上午11:34:01
 */
@Entity
@Table(name = "WA_ACTIVITY_COUNT")
public class WaActivityCount extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	 */
	private String activityCountId;
	/**
	 * 活动管理ID
	 */
	private String custId;

	/**
	 * 活动管理ID
	 */
	private String activityId;
	/**
	 * 活动已领取标识0未玩 1已玩
	 */
	private Integer receiveFlag;
	/**
	 * 购买交易号
	 */
	private String payGopayOrderId;
	/**
	 * 乐观锁版本
	 */
	private Integer version;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;

	@Id
	@Column(name = "ACTIVITY_COUNT_ID")
	public String getActivityCountId() {
		return activityCountId;
	}

	public void setActivityCountId(String activityCountId) {
		this.activityCountId = activityCountId;
	}

	@Column(name = "CUST_ID")
	public String getCustId() {
		return custId;
	}

	public void setCustId(String custId) {
		this.custId = custId;
	}

	@Column(name = "ACTIVITY_ID")
	public String getActivityId() {
		return activityId;
	}

	public void setActivityId(String activityId) {
		this.activityId = activityId;
	}

	@Column(name = "RECEIVE_FLAG")
	public Integer getReceiveFlag() {
		return receiveFlag;
	}

	public void setReceiveFlag(Integer receiveFlag) {
		this.receiveFlag = receiveFlag;
	}

	@Column(name = "PAY_GOPAY_ORDER_ID")
	public String getPayGopayOrderId() {
		return payGopayOrderId;
	}

	public void setPayGopayOrderId(String payGopayOrderId) {
		this.payGopayOrderId = payGopayOrderId;
	}

	@Version
	@Column(name = "VERSION")
	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	@Column(name = "CREATE_TIME")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "UPDATE_TIME")
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return "WaActivityCount [activityCountId=" + activityCountId + ", custId=" + custId + ", activityId="
				+ activityId + ", receiveFlag=" + receiveFlag + ", payGopayOrderId=" + payGopayOrderId + ", version="
				+ version + ", createTime=" + createTime + ", updateTime=" + updateTime + "]";
	}
	
	
}
